package cn.terminus.data.customer.customreceive.mapper;

import cn.terminus.common.customer.bean.customreceive.dto.*;

import java.util.List;

/**
 * (CustomReceive)表服务接口
 *
 * @author makejava
 * @since 2021-08-12 10:27:51
 */
public interface CustomReceiveMapper {

    /**
     * 新增
     *
     * @param dto
     * @return
     */
    Integer add(CustomReceiveNewDto dto);

    /**
     * 更新
     *
     * @param dto
     * @return
     */
    Integer update(CustomReceiveEditDto dto);


    /**
     * gets
     *
     * @param dto
     * @return
     */
    List<CustomReceiveResultDto> gets(CustomReceiveGetsDto dto);

    /**
     * 删除
     *
     * @param dto
     * @return
     */
    Integer delete(CustomReceiveDeleteDto dto);

    /**
     * 查询
     *
     * @param dto
     * @return
     */
    List<CustomReceiveResultDto> query(CustomReceiveQueryDto dto);

    List<CustomReceiveResultDto> queryPage(CustomPageQueryDto dto);

    Integer batchConfig(BatchConfigDto configDto);

    Integer insertBatch(List<CustomReceiveNewDto> receiveNewDtoList);
}
